/** 
  * @author Ji Ye Choi <cgycgy@naver.com>
  * @version 1.9
  * @since 2010-11-06
  */ 

public class Money {
	private long amount;
	private String currency;

	public Money(long amount, String currency) {
		this.amount = amount;
		if(currency.compareTo("USD")==0) {
			this.currency = "$";
		}
		else {
			this.currency = currency;
		}
	}

	public long getAmount() {
		return amount;
	}

	public String getCurrency() { 
		return currency;
	}

	public String toString() {
		return (amount/100) + "." + (amount%100) + currency;
	}

	public int compareTo(Money m) {
		return 0;
	}

	public boolean equals(Object o) {
		return true;
	}

	public int hashCode() {
		return 0;
	}

	public Money plus(Money m) {
		return null;
	}

	public Money minus(Money m) {
		return null;
	}

	public Money times(double factor) {
		return null;
	}

	public Money dividedBy(double divisor) {
		return null;
	}

	public Money negate() {
		return null;
	}

}
